package com.authorization.project.authorization.mapper;

import java.util.List;
import com.authorization.project.authorization.domain.AuthorizationLog;

/**
 * 授权日志Mapper接口
 * 
 * @author 李晓雷
 * @date 2020-05-11
 */
public interface AuthorizationLogMapper 
{
    /**
     * 查询授权日志
     * 
     * @param id 授权日志ID
     * @return 授权日志
     */
    public AuthorizationLog selectAuthorizationLogById(Long id);

    /**
     * 查询授权日志列表
     * 
     * @param authorizationLog 授权日志
     * @return 授权日志集合
     */
    public List<AuthorizationLog> selectAuthorizationLogList(AuthorizationLog authorizationLog);

    /**
     * 新增授权日志
     * 
     * @param authorizationLog 授权日志
     * @return 结果
     */
    public int insertAuthorizationLog(AuthorizationLog authorizationLog);

    /**
     * 修改授权日志
     * 
     * @param authorizationLog 授权日志
     * @return 结果
     */
    public int updateAuthorizationLog(AuthorizationLog authorizationLog);

    /**
     * 删除授权日志
     * 
     * @param id 授权日志ID
     * @return 结果
     */
    public int deleteAuthorizationLogById(Long id);

    /**
     * 批量删除授权日志
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAuthorizationLogByIds(Long[] ids);
}
